package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import lombok.Data;

/**
 * 移动端版本表
 */
@Data
@TableName(value = "app_version")
public class AppVersion {

	/** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/** 版本 */
	@TableField(value = "version")
	private String version;
	/** 备注 */
	@TableField(value = "remark")
	private String remark;
	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;
	/** 状态 1-最新版 0-淘汰版本 */
	private String status;
	/** 安卓下载地址 */
	@TableField(value = "android_download_url")
	private String androidDownloadUrl;
	@TableField(value = "show_week")
	private String showWeek;
	@TableField(value = "show_rank")
	private String showRank;
	@TableField(value = "show_total_rank")
	private String showTotalRank;

	public static final String COL_ID = "id";

	public static final String COL_VERSION = "version";

	public static final String COL_REMARK = "remark";

	public static final String COL_STATUS = "status";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_ANDROID_DOWNLOAD_URL = "android_download_url";
}
